package itdfq.ydd.Behavior_Patters.observer;


/**
 * @Author GocChin
 * @Date 2021/5/23 13:03
 * @Blog: itdfq.com
 * @QQ: 909256107
 * @Descript:
 */
public class Parents extends Subject {

    @Override
    public void see() {
        System.out.println("查看孩子在干啥");
        System.out.println("--------------------");
        for (Object obj : arrayList) {
            ((Observer) obj).replay();
        }
    }
}
